package bb.lanxing.model.database;

import com.orm.SugarRecord;
import com.orm.dsl.Column;
import com.orm.dsl.Table;
import com.orm.query.Select;

import org.litepal.LitePal;
import org.litepal.crud.LitePalSupport;

public class BiciCookie extends LitePalTableBase {
    public static final String KOA_SID = "koa.sid";
    public static final String KOA_SID_SIG = "koa.sid.sig";

    private String name;

    private String value;

    public static BiciCookie getByName(String str) {
        BiciCookie b;

        b = LitePal.where("name=?", str).findFirst(BiciCookie.class);
        return b;
//        return (BiciCookie) Select.from(BiciCookie.class).where("name = ?", new String[]{str}).first();

    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String str) {
        this.value = str;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String str) {
        this.name = str;
    }
}
